package yuan.deng.service.impl;

import yuan.deng.domain.City;
import yuan.deng.mapper.CityMapper;
import yuan.deng.service.CityService;
import yuan.deng.utils.MapperUtils;

import java.util.List;

public class CityServiceImp implements CityService {
    private CityMapper cityMapper= (CityMapper) MapperUtils.getMapper(CityMapper.class);
    @Override
    public List<City> findAll() {
        return cityMapper.findAll();
    }
}
